package com.rockcent.mall.lib.dto;

import com.rockcent.common.domain.DtoEntity;

import javax.persistence.Column;
import java.math.BigDecimal;

/**
 * Created by zhangjh on 2016/11/9.
 */
public class MerchantShoppingCartDto extends DtoEntity {

    /**
     * 商家ID
     */
    private Long merchantId;
    /**
     * 商家名称
     */
    private String merchantName;
    /**
     * 商品列表
     */
    private Long id;
    /**
     * 名称
     */
    private String name;
    /**
     * 购买数量
     */
    private Integer buyCount;
    /**
     * 售价
     */
    private BigDecimal sellPrice;
    /**
     * 图片
     */
    private String logoUrl;
    /**
     * 分享码
     */
    private String shareCode;
    /**
     * 物流方式：支持的物流类型 SHOP_PICKUP("到店自取"), SHIPPING("物流"), SHOP_PICKUP_AND_SHIPPING("物流和到店自取")
     */
    private String shippingType;

    /**
     * 渠道销售码
     */
    private String channelSalesCode;

    public String getShippingType() {
        return shippingType;
    }

    public void setShippingType(String shippingType) {
        this.shippingType = shippingType;
    }

    public String getShareCode() {
        return shareCode;
    }

    public void setShareCode(String shareCode) {
        this.shareCode = shareCode;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getBuyCount() {
        return buyCount;
    }

    public void setBuyCount(Integer buyCount) {
        this.buyCount = buyCount;
    }

    public BigDecimal getSellPrice() {
        return sellPrice;
    }

    public void setSellPrice(BigDecimal sellPrice) {
        this.sellPrice = sellPrice;
    }

    public String getLogoUrl() {
        return logoUrl;
    }

    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl;
    }

    public String getChannelSalesCode() {
        return channelSalesCode;
    }

    public void setChannelSalesCode(String channelSalesCode) {
        this.channelSalesCode = channelSalesCode;
    }

    @Override
    public String toString() {
        return "MerchantShoppingCartDto{" +
                "merchantId=" + merchantId +
                ", merchantName='" + merchantName + '\'' +
                ", id=" + id +
                ", name='" + name + '\'' +
                ", buyCount=" + buyCount +
                ", sellPrice=" + sellPrice +
                ", logoUrl='" + logoUrl + '\'' +
                ", shareCode='" + shareCode + '\'' +
                ", shippingType='" + shippingType + '\'' +
                ", channelSalesCode='" + channelSalesCode + '\'' +
                '}';
    }
}
